Persistent memory for processor main memory

ABSTRACT

Subject matter disclosed herein relates to a system of one or more processors that includes persistent memory.

BACKGROUND

1. Field

Subject matter disclosed herein relates to a system of one or more processors that includes persistent memory.

2. Information

Central processing units (CPUs) are employed in many types of electronic devices, such as computers, cell phones, PDA's, data loggers, games, and navigational equipment, for example. Among such electronic devices, various configurations of one or more CPUs may be employed, such as in a multi-processor system, for example. CPUs may be associated with memory devices to carry out particular functions. For example, a CPU may be associated with a main memory to maintain one or more applications hosted by the CPU. In another example, a CPU may be associated with cache memory to provide relatively fast access to various types of stored information.

BRIEF DESCRIPTION OF THE FIGURES

Non-limiting and non-exhaustive embodiments will be described with reference to the following figures, wherein like reference numerals refer to like parts throughout the various figures unless otherwise specified.

FIG. 1 is a schematic diagram of a system configuration, according to an embodiment.

FIG. 2 is a schematic diagram of a multi-processor system, according to an embodiment.

FIG. 3 is a schematic diagram of a multi-processor system configuration, according to another embodiment.

FIG. 4 is a schematic view of a computing system and a memory device, according to an embodiment.

DETAILED DESCRIPTION

Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of claimed subject matter. Thus, the appearances of the phrase “in one embodiment” or “an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in one or more embodiments.

In an embodiment, a system of two or more processing entities, such as central processing units (CPUs), may comprise persistent memory. For example, persistent memory may be used for at least a portion of main memory, which may be shared among multiple CPUs. Such a system of CPUs, for example, may comprise a computing system to execute applications in any of a number of environments, such as computers, cell phones, PDA's, data loggers, and navigational equipment, just to name a few examples. In particular, multiple applications may be executed simultaneously by multiple CPUs. In an implementation, one or more such CPUs may be individually associated with a main memory and/or cache memory. Here, a portion of either such main memory or cache memory may comprise persistent memory. For example, a main memory and/or cache memory may comprise a portion of persistent memory and a portion of other type of random access memory (RAM). In a particular example, main memory may include at least a portion of phase change memory (PCM) and dynamic random access memory (DRAM). In another particular example, cache memory may comprise PCM and/or DRAM. Such memory configurations may provide benefits such as non-volatility, relatively high program/read speeds, and/or extended PCM life, for example, as explained below. Main memory that includes persistent memory may provide another benefit such as avoiding a need to load executable instructions and/or other information from a non-volatile memory into volatile DRAM, for example. Accordingly, increased memory operation speed (e.g., read, write, or erase operations) and/or reduced memory device power consumption may be among a number of advantages provided by main memory that includes persistent memory. Of course, such features and details of an embodiment that includes PCM or other persistent memory as a main memory are merely examples, and claimed subject matter is not so limited.

Herein, persistent memory refers to nonvolatile memory such as PCM, which may have a bit alterable capability. Another feature of persistent memory includes non-symmetrical read/write speeds, wherein program speed may be slower than read speed for a given memory cell. As explained below, a presence of persistent memory having such features in a multi-processor system may utilize particular cache coherence protocols to allow one or more processing entities to share main memory, for example. Herein, main memory refers to memory that is used by a processing entity to maintain one or more applications that are executable by the processing entity, though claimed subject matter is not limited in this respect.

In an embodiment, PCM may be used as main memory for a system of one or more processing entities. In such a case, PCM may involve at least some of the same cache coherence protocols that apply to DRAM or other types of RAM, for example. However, PCM may be different from DRAM in the sense that PCM comprises a persistent memory. For example, DRAM may lose stored contents if power is removed, while PCM may maintain stored contents even if power is removed. In another example, read and program speeds may be the same for DRAM, whereas read and program speeds for PCM may be different from one another and relatively slow, compared to DRAM. Thus, in an implementation, cache coherency semantics may be added to cache coherency management to support a nonvolatile characteristic of PCM if PCM comprises at least a portion of main memory. In another implementation having PCM comprising at least a portion of main memory, cache coherency semantics may be added to cache coherency management to support relatively long, non-symmetrical read/write speeds of PCM to accommodate added latency of a program operation compared to a read operation. Of course, claimed subject matter is not limited to such particular features of DRAM or PCM.

In an embodiment, a memory device may comprise a main memory having at least one interface to connect, via a bus for example, to multiple processors. In one implementation, such processors may include an on-board (e.g., embedded) cache. Such processors may further include a register such as a translation lookaside buffer (TLB), which is described below. At least a portion of main memory may comprise persistent memory. Such a memory device may further comprise a memory controller to retrieve information from a persistent main memory to initialize the on-board cache in the multiple processors, as explained in detail below.

In another embodiment, a method of using a particular memory device may comprise sharing a main memory among multiple processors. In one implementation, such processors may include an on-board cache, which may comprise a register such as a TLB. At least a portion of main memory may comprise persistent memory. For example, such persistent memory may comprise PCM.

A method of using a particular memory device may further comprise storing information in such persistent main memory. For example, such storing may occur while main memory and/or one or more of the multiple processors are powered-down, after which a TLB initialization may occur, as explained below. Accordingly, a method of using a particular memory device may further comprise retrieving stored information from persistent main memory to initialize the TLB.

In an implementation, a TLB may comprise a CPU cache utilized by memory management hardware to improve virtual address translation speed, for example. A TLB may be implemented as content-addressable memory (CAM). In such a case, a CAM search key may comprise a virtual address and a search result may comprise a physical address. If, for example, a requested address is present in a TLB, a CAM search may yield a match relatively quickly, resulting in a retrieved physical address usable to access memory. If, however, the requested address is not in a TLB, a resulting process may include reading contents of multiple memory locations and using at least a portion of the read contents to determine a physical address, for example.

In general, writing or programming processes may be used to store information in memory devices, while a read process may be used to retrieve stored information. Stored information may be erased from all or a portion of a memory device and/or new information may be written into all or a portion of a memory device. Relatively large numbers of such program-erase and/or program-re-program cycles may degrade the physical integrity of a PCM. For example, thousands of program-erase cycles imposed on a main memory that incorporates PCM may reduce a reliability of the main memory. If using such PCM memory, it may be beneficial to limit and/or reduce the number of occurrences of program-erase cycles, or “cycling”, that a PCM main memory may otherwise be subjected to. Accordingly, in one embodiment, a technique to manage cycling of a main memory incorporating PCM may comprise caching write information. Thus, in addition to providing benefits of improved processor system performance in terms of speed and efficiency, cache memory may also provide a method for reducing PCM cycling to extend life of PCM main memory. In particular, a memory device, such as a DRAM cache memory, may be used to cache write information corresponding to particular addresses of a PCM main memory. A memory size of such a DRAM cache memory may be selected based, at least in part, on properties of PCM included in a main memory. Such properties may include, for example, cycling specifications of PCM, PCM failure rate, PCM write speed, write usage model of a system incorporating a PCM main memory, and/or PCM write wear leveling techniques used. Though the particular use of PCM is cited, such a technique of managing cycling of a main memory incorporating any of a number of memory types may similarly comprise caching write information, as described above. Accordingly, claimed subject matter is not so limited to such details.

FIG. 1 is a schematic block diagram of a processing system 100, according to an embodiment. Processing system 100 may comprise CPU 110, main memory 120, and/or cache 130. In particular, CPU 110 may host one or more applications maintained in main memory 120. Though not shown in FIG. 1, processing system 100 may comprise additional CPUs or other such processing entities, additional main memories, and/or additional caches. For example, CPU 110, main memory 120, and/or cache 130 may collectively comprise building blocks for larger multiprocessor systems. In one implementation, processing system 100 may operate using a memory hierarchy that includes one or more levels of cache memory. Any such level may comprise persistent memory shared among multiple CPUs. For example, cache memory may comprise first level cache and second level cache, either of which at least a portion may comprise persistent memory. Of course, such details of a processing system and cache memory are merely examples, and claimed subject matter is not so limited. In an embodiment, at least a portion of main memory 110 may comprise persistent memory. In a particular implementation, another portion of main memory 110 may comprise other types of memory, such as volatile DRAM. Portions of persistent memory need not be arranged contiguously in main memory 210, which may comprise one or more die structures, for example.

FIG. 2 is a schematic block diagram of a multi-processor system 200, according to an embodiment. Such a multi-processor system may include any number of processing entities, though only two such entities are shown in FIG. 2. In a particular example, such processing entities may comprise a first CPU 210 associated with a cache 230 and a second CPU 215 associated with a cache 235. In one implementation, first CPU 210 and second CPU 215 may each include local memory (not shown) comprising embedded persistent memory, for example. In another implementation, first CPU 210 and second CPU 215 may share a main memory 250 that includes persistent memory. In particular, persistent memory may be included in a memory hierarchy comprising caches (e.g., various levels of cache) and main memory. At least a portion of such main memory, for example, may comprise PCM. Such a memory hierarchy may be used to manage a distributed memory comprising caches and main memory. First CPU 210 and second CPU 215 (and other CPUs that may be present in a computer platform, for example) may share such a distributed memory. In such a case, persistent memory may be included in a one-hop local memory, or multi-hop distributed and shared memory on another (e.g., a third) CPU or a memory hierarchy that may be shared among CPU 210 and second CPU 215, for example.

In one implementation, multi-processor system 200 may comprise a portion of a computing platform, wherein main memory 250 may be used as virtual memory associated with a paging process. In such an implementation, both caches 230 and 235 may comprise a TLB, which may point to a particular page table that, in turn, may point to one or more individual pages. For example, cache 230, comprising a TLB, may point to page table 254 and, in turn, page table 254 may point to page 252 and page 256. Also, cache 235, comprising a TLB, may point to page table 264 and, in turn, page table 264 may point to page 262, page 266, and page 268. In a particular implementation, such TLBs in a CPU (e.g., caches 230 and 235) may comprise a register that is not persistent. Thus, for example, upon power-down, such TLBs may lose stored information. After such a power-down, TLBs may be initialized during a process to boot CPUs and/or TLBs. In one implementation, a TLB may comprise a register included in a processor. Such a TLB may point to a base of a page table in main memory, for example. Such a TLB may be initialized with pointers to main memory. The processor may use information maintained in the TLB for fast lookups.

In a case where such a TLB comprises a persistent memory, the TLB need not be initialized upon boot-up subsequent to a power down, for example. In a case wherein at least a portion of main memory comprises persistent memory, the TLB may be initialized using information stored in a particular location of main memory. Again, such initialization may be performed upon boot-up subsequent to a power down, though claimed subject matter is not so limited. For example, one technique to initialize a TLB may involve storing a copy of TLB information in a particular location in persistent main memory 250. In such a case, upon initialization, individual CPUs 210 and/or 215 may copy respective TLB information from a particular location in persistent main memory 250 to the processor's associated TLB. For example, upon initialization, CPU 210 may copy TLB information from page 270 in persistent main memory 250 to the processor's associated TLB, such as cache 230. Also, upon initialization, CPU 215 may copy TLB information from page 260 in persistent main memory 250 to the processor's associated TLB, such as cache 235. After carrying out such a technique, persistent main memory 250 may also be initialized. One reason for such initialization may be because once a TLB is initialized, persistent main memory may be, by definition, initialized due to the fact that a page table base and/or page table entries may remain valid and persistent in persistent memory. Of course, such details of multi-processor system 200 are merely examples, and claimed subject matter is not so limited.

FIG. 3 is a schematic diagram of a multi-core system 300, according to an embodiment. Such a system may comprise processor nodes 302, 304, 306, and 308 connected to one another via one or more buses, for example. In one implementation, multi-core system 300 may comprise a shared memory multiprocessor. Individual processor nodes 302, 304, 306, and 308 may include CPUs 310, 312, 314, and 316, cache memories 330, 332, 334, and 336, and/or local memories 320, 322, 324, and 326, respectively. Within particular processor nodes, such local memories may comprise main memories associated with processors of the particular processor nodes. For example, local memory 320 may comprise a main memory associated with processor 310 in processor node 302. In an implementation, local memories may be shared, or accessed, by CPUs of other processor nodes. One or more local memories 320, 322, 324, and 326 may comprise all or at least a portion of persistent memory. In a particular implementation, a portion of local memory may comprise various types of memory, such as volatile DRAM. Portions of persistent memory need not be arranged contiguously in local memory, which may comprise one or more die structures, for example. Though not shown, processor units may include memory controllers that are integrated on a same die as CPUs or on separate dies, for example. Also, though FIG. 3 shows a system having four nodes, any number of nodes may be included and claimed subject matter is not limited to this particular arrangement.

Cache memories 330, 332, 334, and 336 may comprise relatively high-speed memory for storing a copy of information obtained from any of local memories 320, 322, 324, and 326. In one implementation, at least a portion of one or more cache memories 330, 335, 334, and 336 may comprise persistent memory. Such cache memory may be searched using at least a portion of an address of individual local memories, for example. Such a portion of memory address used for searching cache memory is referred to as a cache index portion. For example, cache memory 330 may comprise a cache index portion and a cache data portion. The cache index portion may include line addresses of information stored in cache memory 330 and cache state information, as described above, for example. Of course, such details of a multi-core system are merely examples, and claimed subject matter is not so limited.

FIG. 4 is a schematic diagram illustrating an exemplary embodiment of a computing system 400 including a memory device 410. A computing device 404 may be representative of any device, appliance, or machine that may be configurable to manage memory device 410. Memory device 410 may include a memory controller 415 and a memory 422. By way of example but not limitation, computing device 404 may include: one or more computing devices and/or platforms, such as, e.g., a desktop computer, a laptop computer, a workstation, a server device, or the like; one or more personal computing or communication devices or appliances, such as, e.g., a personal digital assistant, mobile communication device, or the like; a computing system and/or associated service provider capability, such as, e.g., a database or data storage service provider/system; and/or any combination thereof.

In an embodiment, computing device 404 may include one or more processing units 420 operatively coupled to memory 422 through a bus 440 and a host or memory controller 415. Processing unit 420 is representative of one or more circuits configurable to perform at least a portion of a data computing procedure or process. By way of example but not limitation, processing unit 420 may include one or more processors, controllers, microprocessors, microcontrollers, application specific integrated circuits, digital signal processors, programmable logic devices, field programmable gate arrays, and the like, or any combination thereof. Processing unit 420 may communicate with memory controller 415 to process memory-related operations, such as read, write, and/or erase, as well as memory partition processes discussed above, for example. Processing unit 420 may include an operating system adapted to communicate with memory controller 415. Such an operating system may, for example, generate commands to be sent to memory controller 415 over bus 440. Such commands may include read/write instructions, for example.

Memory 422 is representative of any data storage mechanism. Memory 422 may include, for example, a DRAM 424 and/or a persistent memory 426. In a particular embodiment, memory 422 may comprise a main memory that includes at least a portion of persistent memory, as described above. Memory 422 may also comprise cache memory that may likewise include at least a portion of persistent memory. While illustrated in this example as being separate from processing unit 420, it should be understood that all or part of DRAM 424 may be provided within or otherwise co-located/coupled with processing unit 420.

According to an embodiment, one or more portions of memory 422 may store signals representative of data and/or information as expressed by a particular state of memory 422. For example, an electronic signal representative of data and/or information may be “stored” in a portion of memory 422 by affecting or changing the state of such portions of memory 422 to represent data and/or information as binary information (e.g., ones and zeros). As such, in a particular implementation, such a change of state of the portion of memory to store a signal representative of data and/or information constitutes a transformation of memory 422 to a different state or thing.

In one embodiment, system 400 may comprise two or more processing units 420 and main memory having at least one interface to connect to such multiple processors having on-board cache (e.g., via bus 440 to processing units 420), wherein at least a portion of main memory may comprise persistent memory. System 400 may further comprise a memory controller to retrieve information from such a persistent main memory to initialize the on-board cache. Such persistent memory may comprise PCM, for example.

Computing device 404 may include, for example, an input/output 432. Input/output 432 is representative of one or more devices or features that may be configurable to accept or otherwise introduce human and/or machine inputs, and/or one or more devices or features that may be configurable to deliver or otherwise provide for human and/or machine outputs. By way of example but not limitation, input/output device 432 may include an operatively configured display, speaker, keyboard, mouse, trackball, touch screen, data port, etc.

While there has been illustrated and described what are presently considered to be example embodiments, it will be understood by those skilled in the art that various other modifications may be made, and equivalents may be substituted, without departing from claimed subject matter. Additionally, many modifications may be made to adapt a particular situation to the teachings of claimed subject matter without departing from the central concept described herein. Therefore, it is intended that claimed subject matter not be limited to the particular embodiments disclosed, but that such claimed subject matter may also include all embodiments falling within the scope of the appended claims, and equivalents thereof. 

What is claimed is:
 1. A memory device comprising: a memory controller adapted to communicate with a main memory shared by multiple processors having cache, at least one of said multiple processors comprising a local memory including persistent memory shared by at least one other processor of said multiple processors, said main memory comprising persistent memory, said memory controller further adapted to retrieve information from said persistent main memory to initialize, upon boot-up, said cache included in said multiple processors.
 2. The memory device of claim 1, wherein said cache comprises a translation lookaside buffer (TLB).
 3. The memory device of claim 2, wherein said information comprises initial values for said TLB.
 4. The memory device of claim 1, wherein said multiple processors individually include embedded memory, wherein at least one of said multiple processors includes said main memory.
 5. The memory device of claim 1, wherein said main memory comprises a single main memory shared among said multiple processors.
 6. The memory device of claim 1, wherein said multiple processors comprise multiple processing systems.
 7. The memory device of claim 1, further comprising: a memory hierarchy including one or more levels of cache memory shared among said multiple processors.
 8. The memory device of claim 7, wherein at least a portion of said one or more levels of cache memory comprise persistent memory.
 9. The memory device of claim 1, wherein said persistent memory comprises phase change memory (PCM).
 10. The memory device of claim 1, wherein said cache comprises on-board cache.
 11. A method comprising: retrieving information from a persistent memory in a main memory shared among multiple processors having on-board cache, at least one of said multiple processors comprising a local memory including persistent memory shared by at least one other processor of said multiple processors; and loading said information to said on-board cache to initialize, upon boot-up, said on-board cache.
 12. The method of claim 11, wherein said on-board cache comprises a translation lookaside buffer (TLB).
 13. The method of claim 12, wherein said information comprises initial values for said TLB.
 14. The method of claim 11, wherein said multiple processors individually include embedded memory, wherein at least one of said multiple processors includes said main memory.
 15. The method of claim 11, wherein said main memory comprises a single main memory shared among said multiple processors.
 16. The method of claim 11, further comprising: managing said main memory in a memory hierarchy including one or more levels of cache memory shared among said multiple processors.
 17. The method of claim 11, wherein said persistent memory comprises phase change memory (PCM).
 18. A system comprising: a plurality of processing entities to host one or more applications, individual ones of said processing entities including an on-board cache, said on-board cache comprising persistent memory shared by at least one of the other processing entities; a main memory shared by said plurality of processing entities having at least one interface to connect to said plurality of processing entities, wherein at least a portion of said main memory comprises persistent memory; and a memory controller to retrieve information from said persistent main memory to initialize, upon boot-up, said on-board cache in the multiple processors.
 19. The system of claim 18, wherein said on-board cache comprises a translation lookaside buffer (TLB).
 20. The system of claim 19, wherein said information comprises initial values for said TLB.
 21. The system of claim 18, wherein a processing entity of said plurality of processing entities comprise a local memory including persistent memory, wherein said persistent local memory is shared by at least one other processing entity of said plurality of processing entities. 